package com.tech.tool.mapper;

import com.tech.tool.dataobject.ApiParameter;
import com.tech.tool.sqlProvider.ApiParameterSqlProvider;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Options;

public interface ApiParameterMapper {

    @InsertProvider(type = ApiParameterSqlProvider.class, method = "insertApiParameter")
    @Options(useGeneratedKeys=true, keyColumn="id")
    int insertByObject(ApiParameter appHost);
}
